package Adapter;

import java.util.ArrayList;
import java.util.List;
import DomainPackage.*;
import Sistem.*;
public class HavalimaniAdapter {

	public static List<Havalimani> getAllHavalimani(){
        List<Object> objectList = Register.getAll(Havalimani.class);
        //as all getAll functions, we have to cast to according class
        List<Havalimani> havalimaniList = new ArrayList<Havalimani>();
        for(Object temp:objectList){
                havalimaniList.add((Havalimani)temp);
        }
        return havalimaniList;
	}
}
